package com.wgy.day9.Array数组;
//遍历输入数组中的每一个元素.
public class Demo20201105_2 {
    public static void main(String[] args) {
        int [] arrayA=new int[]{5,10,20,30};
        for (int i = 0; i < 4; i++) {
            System.out.println(arrayA[i]);

        }
        System.out.println("================");
        for (int i = 0; i < arrayA.length; i++) {
            System.out.println(arrayA[i]);

        }
    }



}
